home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / ddj9304.zip / OS2WPS.ZIP / WPSREAD.CSC < prev   
INI File  |  1993-01-18  |  1KB  |  32 lines

  1. [LISTING THREE]
  2.  
  3. # Subclass of WPDataFile for Spreadsheet sample WPS application
  4. #include <wpdataf.sc>
  5. class:  WPSpread,
  6.         external stem = wpspread, local,
  7.         external prefix = wpspread_,
  8.         classprefix = wpspreadM_,
  9.         major version = 1,
  10.         minor version = 2;
  11. parent: WPDataFile;
  12. passthru: C.ih;
  13.    #define INCL_WIN
  14.    #define INCL_DOS
  15.    #define INCL_DEV
  16.    #define INCL_GPI
  17.    #define INCL_WPCLASS
  18.    #define INCL_WPFOLDER
  19.    #include <os2.h>
  20.    #include <stdlib.h>
  21.    #include <string.h>
  22. endpassthru;   /* .ih */
  23. data:
  24.         HPOINTER        hicon,          class;  // class icon
  25. methods:
  26.         override        wpclsQueryTitle,                class;
  27.         override        wpclsInitData,                  class;
  28.         override        wpclsQueryIcon,                 class;
  29.         override        wpclsQueryInstanceFilter,       class;
  30.         override        wpclsQueryInstanceType,         class;
  31.         override        wpPrintObject;
  32.